package com.demo.house.service;

import com.demo.house.entity.Repair;
import com.demo.house.vo.request.RequestRepairVo;
import com.demo.house.vo.response.ResponseRepairSelectLandlordVo;
import org.springframework.web.multipart.MultipartFile;

import java.awt.image.BufferedImage;
import java.util.List;

public interface RepairService {

    //提交报修申请
    int insertSelective(Repair repair);

    String upp(Integer id,Integer houseSourseId,Integer userId,Integer urlId, MultipartFile file);


    //租客查询报修信息
    List<Repair> selectById(Integer id);

    //租客删除报修信息
    int deleteByPrimaryKey(Integer id);

    //房东查询报修信息
    List<Repair> selectRepair(Integer id);

    //审核报修
    int Review(Integer id);

    BufferedImage getRepairUrl(Integer id,Integer urlId);


}
